package com.wk.springboot.jdk8.functionInterface;

import java.util.function.Predicate;

/**
 * 测试 {@link java.util.function.Predicate}
 */
public class PredicateTest {

    public static boolean ltFive(int i, Predicate<Integer> predicate){
        return predicate.test(i);
    }
}
